Learning Objectives

After completing this lesson, you’ll be able to:

Instructions

In this lesson, you will:

Note: This video was recorded using an earlier version of this exercise and appears in both this lesson and the next. The steps may not match exactly, but the concepts are the same.

Resources

Exercise

Frank

Jennifer hands off a walkability project to Frank. Her workspace reads address data from a File Geodatabase, joins it with crime and noise restriction data, and calculates a walkability score for each address in Vancouver. The workspace runs without errors, but some walkability scores are missing. Frank needs to find and fix the issue before the project can move forward.

In this exercise, you will:

1) Open Starting Workspace

2) Assess Walkability Output

After running your workspace, you check if the output looks correct. This is where you will first see that something has gone wrong, as this is where the final walkability score is created.

3) Check for Warnings

Now that you know some walkability values are null, you can check the Translation Log for clues about why. You know the log often points you toward where a problem is occurring, even if it does not explain the root cause.

Many warnings

4) Inspect the ExpressionEvaluator

Now that you know some walkability scores are null, you want to figure out why. You start by checking how walkability is calculated.

ExpressionEvaluator expression

5) Find the Missing Input Value

You now know that walkability depends on three attributes. Check those attributes to find which one is causing the null result.

6) Trace CrimeValue

Now that you know CrimeValue is missing for some features, trace backward to find where it is created and why some features never receive it.

Tracing transformers to find the earliest use of CrimeValue

7) Identify the Missing CrimeValue Stream

The AttributeValueMapper is not the problem. The next question is: which features never reach it?

Missing values for CrimeValue

8) Add CrimeValue to Unjoined Addresses

Now that you know which features are missing CrimeValue and why, fix the problem at its source. Addresses with no matching crime feature should still receive a CrimeValue. Since no crime was found, a value of 0 is appropriate.

Add an AttributeCreator transformer between the FeatureJoiner UnjoinedLeft output port and the NeighborFinder Base input port.

Adding an AttributeCreator

Adding the CrimeValue attribute with a value of 0

9) Confirm Walkability Scores

Run the updated part of the workspace and confirm the fix.

Leave Us Feedback on This Lesson